package com.todod.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author dyl
 * @date 2023-08-22
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.project_info_records")
public class ProjectInfoRecords implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键id */
	@TableId("xfrd_pk_id")
	private Long id;
	/** 项目id */
	@TableField("xfrd_project_id")
	private Long projectId;
	/** 审批结果 */
	@TableField("xfrd_result_k1")
	private String result;
	/** 审批意见 */
	@TableField("xfrd_opinion_te")
	private String opinion;
	/** 创建用户id */
	@TableField("xfrd_create_user_id")
	private Long createUserId;
	/** 创建时间 */
	@TableField("xfrd_create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;
	/** 修改用户名id */
	@TableField("xfrd_modify_user_id")
	private Long modifyuserId;
	/** 修改时间 */
	@TableField("xfrd_modify_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifytimeTi;

	/** 审批人姓名 */
	@TableField(exist = false) // 表示该属性在数据表里不存在
	private String createuserName;
	/** 审批人姓名 */
	@TableField(exist = false) // 表示该属性在数据表里不存在
	private String projectName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getOpinion() {
		return opinion;
	}

	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getModifyuserId() {
		return modifyuserId;
	}

	public void setModifyuserId(Long modifyuserId) {
		this.modifyuserId = modifyuserId;
	}

	public LocalDateTime getModifytimeTi() {
		return modifytimeTi;
	}

	public void setModifytimeTi(LocalDateTime modifytimeTi) {
		this.modifytimeTi = modifytimeTi;
	}

	public String getCreateuserName() {
		return createuserName;
	}

	public void setCreateuserName(String createuserName) {
		this.createuserName = createuserName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@Override
	public String toString() {
		return "ProjectInfoRecords [id=" + id + ", projectId=" + projectId + ", result=" + result + ", opinion="
				+ opinion + ", createUserId=" + createUserId + ", createTime=" + createTime + ", modifyuserId="
				+ modifyuserId + ", modifytimeTi=" + modifytimeTi + ", createuserName=" + createuserName
				+ ", projectName=" + projectName + "]";
	}

}
